Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
MTK platform partition meaning | |
#Pre-loader | |
Pre-loader image | |
Handles all the download and secure boot procedure | |
#DSP_BL | |
DSP Boot Loader | |
#MBR、EBR1、EBR2 | |
Ext4 file system partition index table |
import express from "express"; | |
import cors from "cors"; | |
import apiRoutes from "./api"; | |
import {errorResponder} from "./middleware/errorResponder"; | |
export const app = express(); | |
app.use(cors({origin: '*'})); | |
app.use(express.json()); | |
app.use(express.urlencoded({extended: true})) |
Create file /etc/systemd/system/docker-compose@.service
. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin
, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
import types | |
import cStringIO | |
TYPE_NULL = '0' | |
TYPE_NONE = 'N' | |
TYPE_FALSE = 'F' | |
TYPE_TRUE = 'T' | |
TYPE_STOPITER = 'S' | |
TYPE_ELLIPSIS = '.' | |
TYPE_INT = 'i' |
Let's say we're trying to load a LLaMA model via AutoModelForCausalLM.from_pretrained
with 4-bit quantization in order to inference from it:
python -m generate.py
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, LlamaTokenizerFast, LlamaForCausalLM
import transformers
This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps
Steps from scratch:
1.react-native init GoogleMapPlayground
// config/index.js | |
module.exports = { | |
// ... | |
dev: { | |
proxyTable: { | |
'/api': { | |
target: 'http://localhost:3000', | |
changeOrigin: true, | |
pathRewrite: { | |
'^/api': '/api' |
[mergetool "sops-mergetool"] | |
cmd = ./sops-mergetool.sh "$BASE" "$LOCAL" "$REMOTE" "$MERGED" |
What are webhooks, and why should you be using them? A webhook is a way to deliver real-time data to applications. Unlike traditional APIs where you need to poll for data frequently in order to get quasi real-time information, webhooks send data immediately.
You can think about webhooks like push notifications on your mobile phone. Rather than burning up the battery on your phone fetching information (polling) from applications to get updates, push notifications (webhooks) automatically send data based on event triggers. And just like push notifications, webhooks are less resource-intensive.
A webhook is an HTTP request (typically a POST sent to a pre-defined callback URI, where the server application is configured to handle the request on that URI. In many cases, webhooks are triggered by stimulus events, making them a faster and more efficient met